<script setup>
const clickFun = () => {
  // 子应用
  // const event = new CustomEvent('childAppEvent', {
  //   detail: { message: 'childAppEvent' }
  // });
  // window.dispatchEvent(event);
  window.$sendParentMessage({ message: 'childAppEvent' })
  console.log($provideDataFromeParent('name'));
  // console.log(globalDataFromParentStores.getUserInfo);
  // console.log(globalDataFromParentStores.getInfoByKey('name'));
  // userInfos.setUserInfo({ name: 'test' })
}
</script>

<template>
  <div @click="clickFun">
    about
  </div>
</template>

<style scoped></style>
